package service.ImgInfoService;

import dao.orcDao.ImgDao;
import domain.ImgInfo;

import java.sql.SQLException;

/**
 * Created by wrh on 17-9-30.
 */
public class ImgServiceImpl implements ImgService{
    public void saveImg(ImgInfo imageInfo) {
        ImgDao dao = new ImgDao();
        try {
            dao.insertInto(imageInfo);
        } catch (SQLException e) {
            e.printStackTrace();
        }
    }
}
